getAnimation = () => {
    var prefabIndex = 0;
    for (var i = 0; i < UnityNode.length; i++) {
        var d = UnityNode[i];
        if (d.AnimClip.length > 0) {
            var nodeId = d.ID;
            var prefabId = mapID.ComPrefab.Anim[prefabIndex];
            var uids = [];
            var uid;
            for (var j = 0; j < d.AnimClip.length; j++) {
                var meta = readFileMeta(animPath + d.AnimClip[j] + ".anim");
                if (j == 0) uid = meta.uuid;
                uids.push({ "__uuid__": meta.uuid, "__expectedType__": "cc.AnimationClip" });
            }
            curID++;
            prefabIndex++;
            finialInfo.push(addAnimation(nodeId, prefabId, uids, uid));
        }
    }
}
addAnimation = (nodeId, prefabId, clips, defaultClip) => {
    var d = {
        "__type__": "cc.Animation",
        "_name": "",
        "_objFlags": 0,
        "__editorExtras__": {},
        "node": {
            "__id__": nodeId
        },
        "_enabled": true,
        "__prefab": {
            "__id__": prefabId
        },
        "playOnLoad": true,
        "_clips": clips,
        "_defaultClip": {
            "__uuid__": defaultClip,
            "__expectedType__": "cc.AnimationClip"
        },
        "_id": ""
    };
    if (isShowId) d["ID"] = curID;
    return d;
}